package com.ruoyi.system.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.DriverInfo;
import com.ruoyi.system.domain.OrderSendRecord;
import com.ruoyi.system.domain.VehicleDriver;
import com.ruoyi.system.domain.request.driver.DriverFaceSendParam;
import com.ruoyi.system.domain.request.driver.DriverFaceSendRecordParam;

/**
 * 驾驶员信息Service接口
 * 
 * @author wp
 * @date 2023-08-10
 */
public interface IDriverInfoService extends IService<DriverInfo> {

    public DriverInfo selectOne(Long id);

    public List<DriverInfo> selectList(DriverInfo driverInfo);

    public boolean updateDriverInfo(DriverInfo driverInfo);

    public void deleteDriverInfo(Long[] ids);

    public void deleteDriverInfo(Long id);

    /**
     * 根据设备ID获取所有驾驶员名字组
     * @param equipmentId
     * @return
     */
    public String getNameGroupByEquipmentId(Long equipmentId);

    /**
     * 下发人脸照片
     */
    public void sendFace(DriverFaceSendParam param);

    /**
     * 人脸识别指令下发记录
     */
    public List<OrderSendRecord> driverFaceSendRecord(DriverFaceSendRecordParam param);

}
